#include "stdafx.h"
#include "MeshFilter.h"

#include "../render/GraphicsBuffer.h"

namespace WindGE
{
	MeshFilter::MeshFilter()
		: Component()
		, mesh_part_(nullptr)
		, graphics_buffer_(nullptr)
	{
	}

	MeshFilter::MeshFilter(GameObjectPtr gameObject)
		: Component(gameObject)
		, mesh_part_(nullptr)
		, graphics_buffer_(nullptr)
	{
	}

	MeshFilter::~MeshFilter()
	{
	}

	bool MeshFilter::init(RenderDevicePtr renderDevice, MeshPartPtr meshPart, GraphicsBufferPtr graphicsBuffer)
	{
		mesh_part_ = meshPart;
		graphics_buffer_ = graphicsBuffer;

		return true;
	}

}//end namespace WindGE

